import request from '@/utils/request'

// 查询会议室信息维护列表
export function listConferenceroom(query) {
  return request({
    url: '/dailyoperations/conferenceroom/list',
    method: 'get',
    params: query
  })
}

// 查询会议室信息维护详细
export function getConferenceroom(id) {
  return request({
    url: '/dailyoperations/conferenceroom/' + id,
    method: 'get'
  })
}

// 新增会议室信息维护
export function addConferenceroom(data) {
  return request({
    url: '/dailyoperations/conferenceroom',
    method: 'post',
    data: data
  })
}

// 修改会议室信息维护
export function updateConferenceroom(data) {
  return request({
    url: '/dailyoperations/conferenceroom',
    method: 'put',
    data: data
  })
}

// 删除会议室信息维护
export function delConferenceroom(id) {
  return request({
    url: '/dailyoperations/conferenceroom/' + id,
    method: 'delete'
  })
}
